package com.lagou.dao;

import com.lagou.pojo.User;
import org.dom4j.DocumentException;

import java.beans.PropertyVetoException;
import java.util.List;

public interface IUserDao {

    public List<User> findAll() throws Exception;

    public User findByCondition(User user) throws Exception;

    public void addUser(User user) throws Exception;

    public void updateUserName(User user) throws Exception;

    public int deleteById(Integer id) throws Exception;
}
